package cn.liontalk.common.redis.prefix;

import cn.liontalk.common.redis.BasePrefix;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description
 * @date 2019-01-24 21:10
 **/
public class AccessKey extends BasePrefix {

    private AccessKey( int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static AccessKey withExpire(int expireSeconds) {
        return new AccessKey(expireSeconds, "access");
    }

}
